import logging

def log_connect():
    logging.basicConfig(filename="./log/logs.log",filemode="w+",level=logging.DEBUG,
                        format="%(asctime)s - %(name)s - %(levelname)s - %(message)s")

    # level=logging.INFO